package com.itheima.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Author: Insight
 * @Description: TODO
 * @Date: 2024-06-12 23:23
 * @Version: 1.0
 */
@Data
public class ArticleDTO {
    private int id;

    private String title;
    private String content;
    private String coverImg;

    @JsonFormat(pattern = "yyyy年MM月dd日")
    private LocalDateTime createTime;
    private String createUser;

    private String username;
}
